package com.yuxi.Dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.InformationSort;

/**
 *信息分类操作接口
 * @author zhangchao
 * @version 1.0
 * 2016/07/18
 */


@Repository
public interface InformationSortDao {
	/**
	 * 通过 InforationSortID获取 InforationSort
	 * @param 	InforationSortID
	 * @return InforationSort 
	 * */
	public InformationSort getISort(Integer  InforationSortId);
	/**
	 * 添加一个InforationSort  并返回添加的实体类
	 *@param  InforationSortID
	 *@return InforationSort 
	 * */
	public InformationSort addISort(InformationSort iSort);
	/**
	 * 删除一个InforationSort  并返回删除的实体类
	 * @param 	iSort InforationSort实体类
	 * @return InforationSort 
	 * */
	public void deleteISort(InformationSort iSort);
	/**
	 * 修改一个InforationSort  并返回修改的实体类
	 * @param 	iSort InforationSort实体类
	 * @return InforationSort 
	 * */
	public void modifly(InformationSort iSort);
	/**
	 * 获取所有信息分类
	 * @param 	
	 * @return List<InformationSort> 
	 * */
	public List<InformationSort> getAllInformationSort();
	
}
